package com.bluegalaxy.nhb.snservice.domain.vo;

/**
 * Created by IntelliJ IDEA.
 *
 * @author:
 * @date: 2020-03-04
 * @time: 10:33
 * @description: 国际化后service通用返回类，service含校验部分时候用
 * To change this template use File | Settings | File Templates.
 */
public class ServiceReturn {

    /**
     * 执行是否成功
     */
    private boolean success;

    /**
     * 对应国际化中的key
     */
    private String messageKey;

    /**
     * 对应国际化中的占位符
     */
    private Object[] placeholder;

    /**
     * 额外返回处理类
     */
    private Object data;

    /**
     * 备注
     */
    private String remark;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessageKey() {
        return messageKey;
    }

    public void setMessageKey(String messageKey) {
        this.messageKey = messageKey;
    }

    public Object[] getPlaceholder() {
        return placeholder;
    }

    public void setPlaceholder(Object[] placeholder) {
        this.placeholder = placeholder;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
